/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package byblos.negocio.configuracao;

import byblos.persistencia.DAO;
import java.util.List;

/**
 *
 * @author marano
 */
public class ConfiguracaoEmailUtil {

    public ConfiguracaoEmail getConfig() {
        List<ConfiguracaoEmail> configs = new DAO().listar(ConfiguracaoEmail.class);
        return configs.size() > 0 ? configs.iterator().next() : null;
    }
}
